package com.music.mapper.tag;

import com.music.dto.tag.TagDTO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TagMapper {
    /*
     * @Description 列出所有tag
     * @Author DY
     * @Date 2021/11/25
     **/
    @Select("SELECT tag_id, tag_name, tag_type, tag_father FROM basic_tag " +
            "ORDER BY tag_type, tag_father, tag_id ")
    List<TagDTO> listAllTag() throws Exception;
}
